<div ms-controller="car_add">
	<div class="location_box">
		<div class="return_title">
			<a class="return_button" ms-on-click="history"><img src="../img/icon_return.png"/></a>
			<a ms-on-click="load('home_cloud.html')">首页</a>
			<span>&gt;</span>
			<span>车辆管理</span>
			<span>&gt;</span>
			<a>添加车辆</a>
		</div>
		<div class="button_box">
			<a class="button_save" ms-on-click="save">保存</a>
		</div>
	</div>
	<div class="add_item_box">
		<div class="add_item">
			<label>车牌号</label>
			<input type="text" ms-duplex="userName" placeholder="请输入车牌号">
		</div>
		<div class="add_item">
			<label>车主姓名</label>
			<input type="text" ms-duplex="trueName" placeholder="请输入车主姓名">
		</div>
	</div>
    <div class="tips_add">
        <div ms-if="saveStatus==1">
            <span class="success_tip">保存成功！</span>车辆编号为 {{code}}，请到 <a href="http://www.qinms.com/webapp/barcode/index.aspx">http://www.qinms.com/webapp/barcode/index.aspx</a> 网站生成用户条码。
        </div>
        <div ms-if="saveStatus==2">
            <span class="fail_tip">保存失败</span>，{{errorMessage}}
        </div>
    </div>
</div>